home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / examples / dtbuilder / about_box.bil.z / about_box.bil
Encoding:
Text File  |  2003-11-18  |  6.1 KB  |  313 lines

  1. //
  2. // about_box.bil
  3. //
  4. // Copyright 2000, Silicon Graphics, Inc.
  5. // ALL RIGHTS RESERVED
  6. // 
  7. // UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8. // States.   Use of a copyright notice is precautionary only and does not
  9. // imply publication or disclosure.
  10. //
  11. // U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12. // Use, duplication or disclosure by the Government is subject to restrictions
  13. // as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14. // in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15. // in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16. // Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17. // 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18. //
  19. // THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20. // INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21. // DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22. // PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23. // GRAPHICS, INC.
  24. //
  25. //
  26. //
  27. // (c) Copyright 1993, 1994 Hewlett-Packard Company
  28. // (c) Copyright 1993, 1994 International Business Machines Corp.
  29. // (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  30. // (c) Copyright 1993, 1994 Novell, Inc.
  31. //
  32. //   about_box.bil - Application Builder module file for CDE application 
  33. //                   'About Box'.
  34. //
  35. :bil-version    1 0
  36. :module about_box
  37. (
  38.  
  39. :element dialog
  40. (
  41.     :type            :dialog
  42.     :x            417
  43.     :y            462
  44.     :width            674
  45.     :height            333
  46.     :bg-color        "white"
  47.     :label            "About CDE Application Builder"
  48.     :resizable        :true
  49.     :visible        :false
  50.     :children        (
  51.         ctrl_panel
  52.         dialog_button_panel
  53.     )
  54. )
  55. :element ctrl_panel
  56. (
  57.     :type            :container
  58.     :container-type        :relative
  59.     :x            0
  60.     :y            0
  61.     :width            671
  62.     :height            330
  63.     :visible        :true
  64.     :border-frame        :etched-in
  65.     :north-attachment    (:point 0 0)
  66.     :south-attachment    (:obj dialog -1)
  67.     :east-attachment    (:obj dialog -1)
  68.     :west-attachment    (:point 0 0)
  69.     :children        (
  70.         group3
  71.         more_button
  72.         group4
  73.         abbrev_name
  74.     )
  75. )
  76. :element group3
  77. (
  78.     :type            :container
  79.     :container-type        :group
  80.     :active            :true
  81.     :x            175
  82.     :y            50
  83.     :width            277
  84.     :height            161
  85.     :group-type        :column
  86.     :column-alignment    :left
  87.     :voffset        25
  88.     :vattach_type        :obj
  89.     :border-frame        :none
  90.     :north-attachment    (:point 0 50)
  91.     :west-attachment    (:point 0 175)
  92.     :children        (
  93.         group2
  94.         os_number
  95.         group
  96.     )
  97. )
  98. :element group2
  99. (
  100.     :type            :container
  101.     :container-type        :group
  102.     :active            :true
  103.     :x            0
  104.     :y            0
  105.     :width            133
  106.     :height            69
  107.     :group-type        :column
  108.     :column-alignment    :left
  109.     :voffset        3
  110.     :vattach_type        :obj
  111.     :border-frame        :none
  112.     :north-attachment    (:obj group3 0)
  113.     :west-attachment    (:obj group3 0)
  114.     :children        (
  115.         app_name
  116.         version
  117.         release_date
  118.     )
  119. )
  120. :element app_name
  121. (
  122.     :type            :label
  123.     :x            0
  124.     :y            0
  125.     :label-type        :string
  126.     :label            "Application Name"
  127.     :label-alignment    :center
  128.     :active            :true
  129.     :visible        :true
  130.     :north-attachment    (:obj group2 0)
  131.     :west-attachment    (:obj group2 0)
  132. )
  133. :element version
  134. (
  135.     :type            :label
  136.     :x            0
  137.     :y            24
  138.     :label-type        :string
  139.     :label            "Version name"
  140.     :label-alignment    :center
  141.     :active            :true
  142.     :visible        :true
  143.     :north-attachment    (:obj app_name 3)
  144.     :west-attachment    (:obj-edge app_name 0)
  145. )
  146. :element release_date
  147. (
  148.     :type            :label
  149.     :x            0
  150.     :y            48
  151.     :label-type        :string
  152.     :label            "Release date"
  153.     :label-alignment    :center
  154.     :active            :true
  155.     :visible        :true
  156.     :north-attachment    (:obj version 3)
  157.     :west-attachment    (:obj-edge version 0)
  158. )
  159. :element os_number
  160. (
  161.     :type            :label
  162.     :x            0
  163.     :y            94
  164.     :label-type        :string
  165.     :label            "Release/OS Number"
  166.     :label-alignment    :center
  167.     :active            :true
  168.     :visible        :true
  169.     :north-attachment    (:obj group2 25)
  170.     :west-attachment    (:obj-edge group2 0)
  171. )
  172. :element group
  173. (
  174.     :type            :container
  175.     :container-type        :group
  176.     :active            :true
  177.     :x            0
  178.     :y            140
  179.     :width            277
  180.     :height            21
  181.     :group-type        :column
  182.     :column-alignment    :left
  183.     :voffset        0
  184.     :vattach_type        :grid-line
  185.     :border-frame        :none
  186.     :north-attachment    (:obj os_number 25)
  187.     :west-attachment    (:obj-edge os_number 0)
  188.     :children        (
  189.         copyright
  190.     )
  191. )
  192. :element copyright
  193. (
  194.     :type            :label
  195.     :x            0
  196.     :y            0
  197.     :label-type        :string
  198.     :label            "Copyright (C) 1993, 1994 My Company"
  199.     :label-alignment    :center
  200.     :active            :true
  201.     :visible        :true
  202.     :north-attachment    (:obj group 0)
  203.     :west-attachment    (:obj group 0)
  204. )
  205. :element more_button
  206. (
  207.     :type            :button
  208.     :button-type        :push-button
  209.     :x            40
  210.     :y            245
  211.     :label-type        :string
  212.     :label-alignment    :center
  213.     :label            "More..."
  214.     :active            :true
  215.     :visible        :true
  216.     :north-attachment    (:point 0 245)
  217.     :west-attachment    (:point 0 40)
  218. )
  219. :element group4
  220. (
  221.     :type            :container
  222.     :container-type        :group
  223.     :active            :true
  224.     :x            37
  225.     :y            47
  226.     :group-type        :column
  227.     :column-alignment    :vcenter
  228.     :voffset        10
  229.     :vattach_type        :obj
  230.     :border-frame        :etched-out
  231.     :north-attachment    (:point 0 47)
  232.     :west-attachment    (:point 0 37)
  233.     :children        (
  234.         app_graphic
  235.     )
  236. )
  237. :element app_graphic
  238. (
  239.     :type            :label
  240.     :x            77
  241.     :y            0
  242.     :label-type        :string
  243.     :label            "Graphic\ngoes\nhere"
  244.     :label-alignment    :center
  245.     :active            :true
  246.     :visible        :true
  247.     :north-attachment    (:point 0 0)
  248.     :west-attachment    (:center-grid-line 0 0)
  249. )
  250. :element abbrev_name
  251. (
  252.     :type            :label
  253.     :x            46
  254.     :y            104
  255.     :label-type        :string
  256.     :label            "App Name"
  257.     :label-alignment    :center
  258.     :active            :true
  259.     :visible        :true
  260.     :north-attachment    (:obj group4 5)
  261.     :west-attachment    (:obj-edge group4 -5)
  262. )
  263. :element dialog_button_panel
  264. (
  265.     :type            :container
  266.     :container-type        :button-panel
  267.     :height            36
  268.     :visible        :true
  269.     :border-frame        :none
  270.     :children        (
  271.         ok_btn
  272.         help_btn
  273.     )
  274. )
  275. :element ok_btn
  276. (
  277.     :type            :button
  278.     :button-type        :push-button
  279.     :label-type        :string
  280.     :label-alignment    :center
  281.     :label            "OK"
  282.     :active            :true
  283.     :visible        :true
  284.     :north-attachment    (:grid-line 5 0)
  285.     :south-attachment    (:grid-line 95 0)
  286.     :east-attachment    (:grid-line 40 0)
  287.     :west-attachment    (:grid-line 20 0)
  288. )
  289. :element help_btn
  290. (
  291.     :type            :button
  292.     :button-type        :push-button
  293.     :label-type        :string
  294.     :label-alignment    :center
  295.     :label            "Help"
  296.     :active            :true
  297.     :visible        :true
  298.     :north-attachment    (:grid-line 5 0)
  299.     :south-attachment    (:grid-line 95 0)
  300.     :east-attachment    (:grid-line 80 0)
  301.     :west-attachment    (:grid-line 60 0)
  302. )
  303. :connection
  304. (
  305.     :from            ok_btn
  306.     :to            dialog
  307.     :when            :activate
  308.     :action-type        :builtin
  309.     :action            :hide
  310.     :arg-type        :void
  311. )
  312. )
  313.